import requests

web_url = "http://127.0.0.1:8000"


def test_sms():
    url = "{}/code/".format(web_url)
    data = {
        "mobile": "17623603825"
    }
    res = requests.post(url, json=data)
    print(res.text)


if __name__ == '__main__':
    test_sms()
